package com.example.lcqexcel.yuexiu.pdLIb;

import lombok.Data;

/**
 * @ClassName ExcelHead
 * @Description
 * @Author lichuanqi
 * @Date 2023/8/11 14:19
 * @Version 1.0
 **/
@Data
public class ExcelHead<T> {

    //内容里的字段名称
    private String fieldName;
    //显示值，一般为中文的
    private String title;
    private T nullValue; //如果为null的值

    public ExcelHead(String fieldName, String title) {
        this.fieldName = fieldName;
        this.title = title;
    }

    public ExcelHead(String fieldName, String title, T nullValue) {
        this.fieldName = fieldName;
        this.title = title;
        this.nullValue = nullValue;
    }
}
